package com.ucw.ucwclient.api.controller;

import java.util.HashMap;
import java.util.Map;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * 用户登录／token 控制层
 * 
 * @author owen
 *
 */
@RestController
@RequestMapping("/login")
public class LoginController {

    private final static Logger logger = LoggerFactory.getLogger(LoginController.class);

    @RequestMapping(value = "/test", method = RequestMethod.GET)
    @ResponseBody
    public Map doLoginOut() {
        Map<String, String> aa = new HashMap<String, String>();
        aa.put("aaa", "vvvv");
        return aa;
    }
}
